home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer (Italian) 36
/
PC Gamer IT CD 36 2-2.iso
/
SSCDEMO
/
ShipMain
/
missnLib.cxt
/
00001_Field_Outandback.txt
next >
Wrap
Text File
|
1998-08-06
|
9KB
|
232 lines
//Hey, check mo_hq_ev3 for putting equipfialure cmd in there!
//also the SWAP tag should be changed
// Fly to Deneba VI and back
// Author : Imergy, Script Translator L.Tietz
// July 25&26, 1998 psm
// =========================================================
// Goal Phase
// MISSION GOAL STATEMENT (REQUIRED)
// The format for DES = locH locV locName
<MISS = EAR, DES = 0350:0275:Deneba VI,RAR= 001,TIL= 048,>
// ==========================================================
// Initial Phase
// INITIAL CMD (REQUIRED)
<ICMD = #captainSpeaks,MSG01,
// Launch the Starship on it's mission
#setGoals,MSG99,
#unDock,MSG02,
#seekDes,MSG03,
#longRangeScan,MSG04,
#thenCmd,2,
// Long-range scan Successful
#captainSpeaks,MSG05,
#goal4achieved,-,
#elseCmd,1,
// Long-range scan failure
#captainSpeaks,MSG06,
#testHitTarget,-,
// Destination Arival
#reportStatus,MSG10,
#executeGoal,MSG11,>
// ==========================================================
// Execute Phase
// Triggered when ship processes #executeGoal command.
// (REQUIRED)
<MO_CO_EG = #hover,MSG12,
#goal1achieved,-,
#lifeFormScan,MSG13,
#thenCmd,2,
// Lifeforms detected
#captainSpeaks,MSG14,
#goal3achieved,-,
#elseCmd,1,
// Can't detect lifeforms for any of several reasons
// Maybe no equip, maybe no power/cpu
// Maybe there isnt any life out there!
#captainSpeaks,MSG22,
#captainSpeaks,MSG48,
#closeMission,MSG28,>
// ==========================================================
// Close Mission Phase #closeMission
// We want to set our destination to Starbase and head home
<CCMD = #returnStarBase,MSG29,
#clrFriend, -,
#departArea,MSG30,
#testHome,-,
#goal2achieved,-,
#dock,MSG31,
#simOver,MSG38, >
// ==========================================================
// The following TAGS are Mission Overlay Tags. Each one has a special purpose and meaning.
//
// Your shields can malfunction. This could occur do to substaining a HIT from an object
// or enemy fire or from ware-n-tear. Since this event is asycron with the main mission script
// we need a way to give the script writer some control over how the ship will
// respond to this event. In the following case we chose to display
// a head quarter dialog box.
// Notice we are issuing a Head Quarters Dialog cmd here - this command MUST have a
// corresponding HEAD QUARTERS Dialog definition created for it. See
// the end of this script for the HEAD QUARTER defs.
<MO_CO_SMF = #HQCmd2,MSG34,>
// The following TAGS are used to communicate a response to the starship
// when it encounters an alien ship
// We engage the alien in debate and they respond with friendship
<MO_CR_FC = #friendly,MSG39,>
// We engage the alien in debate and they respond with hostility
<MO_CR_HC = #hostile, MSG40 ,>
// We engage the alien in debate and they respond with an attack
<MO_CR_AC = #attacked, MSG41,>
// We are in battle with the enemy ship and we have destroyed it
<MO_CR_TD = #targetDestroyed, MSG42,>
// We are in battle with the enemy ship and we have disabled it
<MO_CR_TDA = #targetDisabled, MSG43,>
// We are in battle with the enemy ship and we have made a small impact on it
<MO_CR_TIP = #targetImpacted,MSG44,>
// We are in battle with the enemy ship and we have given it a slight dent
<MO_CR_TDNT = #targetTouched,MSG45,>
// We are in battle with the enemy ship and we have not had an effect on the ship
<MO_CR_TUNE = #targetUnaffected, MSG46,>
// If durring a confict the target ship is deemed invincible the conflict res obj will issue
// a cmd to the ship. We need to tell the overlay data obj the cmd that it will send to
// the ship in this occurence. In this specific case we want to tell the overlay obj to
// issue the cmd #HQCmd1. This cmd is defined below to trigger a HQ request dialog.
<MO_CR_INV = #HQCmd1,MSG47,>
// HQ Dialog Box Data
// You can put an cmds and
// text MSGs in the data field. The format is as follows:
// ShipMessageSTR ,cmd1, Option1STR , cmd2 , Option2STR , cmdID ,
// The cmdID is used by the ship to store and retrive the other fields from the
// overlay data OBJ.
// The first Tag is REQUIRED. This Tag tells the mission sim overlay OBJ how many HQ messages
// it must read. If you will not make use of the Head Quarter Dialog Box then you
// will set MO_HQ_EV0 = 0. If you set the value to > 0 then you must provide the
// tags for each dialog box that you wish to have displayed. making use of the
<MO_HQ_EV0 = 3,>
<MO_HQ_EV1 = We are under attack and the enemy ship has superior weapons. Request permission to withdraw.,
#surrender, Retreat, #battle, Fight Anyway, #HQCmd1,>
<MO_HQ_EV2 = Our shields are damaged. Whoever installed this defective equipment should be disciplined!,
#surrender, Give up., #battle, Keep going.,#HQCmd2,>
<MO_HQ_EV3 = This ship is not equipped to handle basic maneuvers or is damaged beyond repair in-flight.,
#simover, Simulation Failure, #simover, Simulation Failure,#HQCmd3,>
// MSG Table
// Rev July 1 98 --psm 98/07/26&28 × for msg99 goals
// This table is used for readablity and maintainablity of all message MSGs.
// Message MSGs can be used as part of any MCO.
<MSG99 = [1:"Achieved orbit around Deneba VI.", 2:"Returned to Starbase.", 3:"Found lifeforms.", 4:"Found the planet on LongRange scan."]>
<MSG01 = Prepare to get underway.>
<MSG02 = Helm, take us out of drydock.>
<MSG03 = Set course for Deneba VI.>
<MSG04 = Initiate a long range scan of the destination.>
<MSG05 = The area appears clear.>
<MSG06 = Long range scan unsuccessful. Proceed with caution.>
<MSG10 = Approaching Deneba VI.>
<MSG11 = Going into standard orbit.>
// Execute Mission Cmd MSGs
//<SWAP=TargetIn;XYZ123_icon@SWAP=active_ship;icon> was in MSG13
<MSG12 = Orbit achieved. >
<MSG13 = Execute standard scan for life forms on the surface.>
<MSG14 = Scan detects an active civilization.>
<MSG22 = No life detected.>
<MSG28 = Let's go home.>
// Close Mission Cmd MSGs
<MSG29 = Set coordinates for return.>
<MSG30 = Leave orbit.>
<MSG31 = Arrived.>
<MSG38 = The simulation is complete.>
<MSG48 = Time to leave orbit.>
<MSG50 = Ship unable to complete mission.>
// ENVIRONMENT OVERLAY DATA -- This data will be moving to it's own file
// This TAG is used to define a set of up to 10 events that will be triggered
// by the ship crossing a specific point on the map during a mission. You must select
// an event from the lEvent tag table and a point value from 0 to 1000
<LEVTMAP = #blackHole,989,89,-, #asteroid,300,250,Scans detect an asteroid field. Maneuvering to avoid.,>
// This TAG is used to define a set of up to 10 events that will be triggered
// at specific times relative to the start of a mission. You must select
// an event from the tEvent tag table and a delta t value in ticks (60 ticks / sec)
<TEVTMAP = #wearNTear,1200,-, #fireDrill,2400,-,>
// The following set of tags are related to scans conducted by the starship. When the starship
// conducts a scan it will communicate with the overlay data obj to get a response. You must
// provide the responses to all possibilities to all scan types within a two dimensional space.
// The format for an scan-environment tag is as follows
// <MO_SN_aa = L1,T1,R1,B1,cmd1,"dsp text1";L2,T2,R2,B2,cmd2,"dsp text 2;....;Ln,Tn,Rn,Bn,cmdn,"dsp testn>
// Where L=Left Org, T=TopOrg, R=RightOrg, BOrg=BottomOrg and define a Rectangle Target for the scan
// All Scan Result Tags must be DEFINED (REQUIRED).
// Only the TAGS that will be triggered by a scan request cmd that you have
// included within an execute type tag need to be defined with specific data.
// For the ones that I'm not using I have placed a single null Rect with a null cmd and message data
// <MO_SN_LR> is a long range scan
<MO_SN_LR = 0700,0400,0800,0500,#interstellarDust,Field could obscure ships signal; 0700,0400,0800,0500,#interstellarDust,Field could obscure ships signal; 0700,0400,0800,0500,#interstellarDust,Field could obscure ships signal; 0349,0274,0352,0276,#shipObj, Planet Deneba VI located.;>
// <MO_SN_RF> is a freq (RF) scan
<MO_SN_RF = 0700,0400,0800,0500,#shipObj,A vessel is detected;>
// <MO_SN_PA> is a Partical Spectrometry scan
<MO_SN_PA = 0,0,0,0,#nothing, ;>
// <MO_SN_GM> is a Gravimetric Scan
<MO_SN_GM = 0,0,0,0,#nothing, ;>
// <MO_SN_PR> is a Proton Spec Scan
<MO_SN_PR = 0,0,0,0,#nothing, ;>
// <MO_SN_LF> is a Life Form Scan
<MO_SN_LF = 0200,0200,0400,0400,#lifeforms, ;>
// <MO_SN_SS> is a Sub-Space Scan
<MO_SN_SS = 0,0,0,0,#nothing, ;>
// <MO_SN_OP> is a Optical Scan
<MO_SN_OP = 0700,0400,0800,0500,#noDetect, ;>
// <MO_SN_GF> is a Graviton Flux Scan
<MO_SN_GF = 0,0,0,0,#nothing, ;>
// <MO_SN_GR> is a Gamma Radiation Scan
<MO_SN_GR = 0,0,0,0,#nothing, ;>
// <MO_SN_IR> is a InfraRed Scan
<MO_SN_IR = 0,0,0,0,#nothing, ;>
// <MO_SN_PM> is a Particle Map Scan
<MO_SN_PM = 0,0,0,0,#nothing, ;>